<template>
	<view class="y-page-common page">
		<view class="card form">
			<uni-icons class="icon" custom-prefix="custom-icon" type="checkbox-filled" size="100"
				color="#3CC992"></uni-icons>
			<view class="text">
				认证成功
			</view>
		</view>
		<view class="btns">
			<ReadmeBtn class="btn" :readme="[]" text="返回" btnType="default" @submit="authcomplete"></ReadmeBtn>
		</view>

	</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {
			// 返回额度申请页面
			authcomplete() {
				uni.setStorageSync('isIDAuth', true);
				uni.redirectTo({
					url: '/pages/personal/limit'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.page {
		width: 100%;
		height: 100%;
		text-align: center;

		.text {
			color: #3CC992;
			font-size: 30rpx;
		}

		.btns {
			width: 100%;
			display: flex;
			position: fixed;
			bottom: 0;
			left: 0;
			background-color: #fff;
			flex: 1;

			.btn {
				width: 100vw;
			}
		}
	}
</style>